/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: app2022 - Demo
 * <p>Powered by webrx On 2022-01-14 10:52:55
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Demo {
    public static void main(String[] args) {
        //try catch finally throw throws (java.lang.Exception)
        try {
            showExce();
            System.out.println("A");
        } catch (Exception e) {
            System.out.println("B");
        } finally {
            System.out.println("C");
            System.out.println("D");
        }
    }

    public static void showExce() throws Exception {
        //throw new Exception();
        //int i = 3 /0;
    }
}
